import React, { useState } from 'react'
import styles from './step3.less'
import completedH from '../../../assets/enquiry/completedH.png'
import line from '../../../assets/enquiry/line.png'

function Step3({ onNext }) {

  const [focusIndex, setFocusIndex] = useState(1)

  function onSubmit(data) {
    console.log(data, 'dddddddd')
    onNext()
  }
  return (
    <div className={styles.box}>
      <div className={styles.header}>
        <img src={completedH} className={styles.completedH}></img>
        <img src={line} className={styles.line}></img>
      </div>
      <button className={styles.button} style={{ minHeight: 44 }} onClick={onSubmit} >确认</button>
    </div>
  )
}

export default Step3
